package com.andy.qi.controller;

public class WebResult {
    private final int errcode;
    private final Object errmsg;
    private Object data;
    
    public WebResult(int errcode, Object errmsg) {
        this.errcode = errcode;
        this.errmsg = errmsg;
    }
    
    public WebResult(int errcode, Object errmsg, Object data) {
        super();
        this.errcode = errcode;
        this.errmsg = errmsg;
        this.data = data;
    }

    public int getErrcode() {
        return errcode;
    }
    public Object getErrmsg() {
        return errmsg;
    }

    public Object getData() {
        return data;
    }
    
}
